package com.yyw.bean;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "评论Criticism")
public class Criticism {

    @ApiModelProperty("评论ID")
    private Long id;

    @ApiModelProperty("用户ID")
    private Long userid;

    @ApiModelProperty("短文ID")
    private Long tractateid;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("点赞数")
    private Integer oknum;

    @ApiModelProperty("创建时间")
    private Date createtime;

    // **********************************
    @ApiModelProperty("用户昵称")
    private String username;
}
